//
//  bottomView.m
//  PhotoCircle
//
//  Created by wujungao on 12/11/15.
//  Copyright © 2015 wujungao. All rights reserved.
//

#import "bottomView.h"

@interface bottomView()

@end

@implementation bottomView

-(void)awakeFromNib{
    
    [self configPhotoExhibitionButton];
    [self configPlusButton];
    [self configMeButton];
}

#pragma mark - config button
-(void)configPhotoExhibitionButton{
    
    self.photoExhibitionButton.imageView.contentMode=UIViewContentModeScaleAspectFit;
    [self.photoExhibitionButton setImage:[UIImage imageNamed:@"photoExhibitionNormal"] forState:UIControlStateNormal];
    [self.photoExhibitionButton setImage:[UIImage imageNamed:@"photoExhibitionSelectedNormal"] forState:UIControlStateSelected];
}

-(void)configPlusButton{
    
    self.plusButton.imageView.contentMode=UIViewContentModeScaleAspectFit;
    [self.plusButton setImage:[UIImage imageNamed:@"plusNormal"] forState:UIControlStateNormal];
    [self.plusButton setImage:[UIImage imageNamed:@"plusCloseNormal"] forState:UIControlStateSelected];
    [self.plusButton setImage:[UIImage imageNamed:@"plusNormalTouchDown"] forState:UIControlStateHighlighted];
    [self.plusButton setImage:[UIImage imageNamed:@"plusCloseTouchDown"] forState:UIControlStateHighlighted | UIControlStateSelected];
}

-(void)configMeButton{
    
    self.meButton.imageView.contentMode=UIViewContentModeScaleAspectFit;
    [self.meButton setImage:[UIImage imageNamed:@"meNormal"] forState:UIControlStateNormal];
    [self.meButton setImage:[UIImage imageNamed:@"meSelectedNormal"] forState:UIControlStateSelected];
}

@end
